package com.spring.demos.ioccontainer.pojo;

public class SimpleMovieListener {

    private MovieFinder movieFinder;

    public MovieFinder getMovieFinder() {
        return movieFinder;
    }

    public void setMovieFinder(MovieFinder movieFinder) {
        this.movieFinder = movieFinder;
    }

    public void onFindMovie(String movieName){
        movieFinder.callFindMovie(movieName);
    }
}
